package com.serviceImpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.mapper.ArticleMapper;
import com.service.ArticleService;
import com.vo.Article;
@Service
public class ArticleServiceImpl implements ArticleService {

	@Autowired
	ArticleMapper articleMapper;
	
	@Override
	public List<Article> listRecentArticle(Integer n) {
		
		return articleMapper.listRecentArticle(n);
	}

}
